#include "biginteger.hpp"
#include <cassert>
#include <iostream>

int main() {
	using bi::BigInteger;
	BigInteger bi;
char abc,acc;
int aaa;
	assert( bi == -bi );
	bi = 10000000;
	assert( bi == "10000000" );
	bi += bi + "100000000000000000000";
	assert( bi == "100000000000020000000" );
	bi -= bi;
	assert( bi.to< int >() == 0 );
	std::cout << bi << std::endl;
	return 0;
}
